#ifndef HTTP_PARSER_H_
#define HTTP_PARSER_H_

#define HP_UNKNOWN	-1

#define HP_MTHD_GET		0
#define HP_MTHD_POST	1
#define HP_MTHD_HEAD	2

#define HP_CONN_KEEPALIVE	0
#define HP_CONN_CLOSE	1

#define HP_TEXT_HTML	0
#define HP_TEXT_CSS		1
#define HP_IMAGE_PNG	2
#define HP_IMAGE_JPEG	3
#define HP_IMAGE_GIF	4

#define MAX_LINE	4096

#include "liso_buffer.h"

int parser_http_handler(int, client_conn_t *, void *);
#endif
